package bootstrap

import (
	"blog/internal/services"
	"blog/internal/services/impl"
)

type Services struct {
	UserService services.IUserService
}

func newServices(repo *Repository) *Services {
	return &Services{
		UserService: impl.NewUserService(repo.UserRepository, repo.ProfileRepository),
	}
}
